package com.dyjch.mly.mapper;


import com.dyjch.mly.entity.GoodsBound;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface GoodsManagerMapper {
    public GoodsBound queryGoodsByName(String name);

    public List<GoodsBound> getAllMessage();

    public void updateWithNumber(@Param("name") String name,@Param("number") int number);

    public void addGoods(GoodsBound goodsBound);

    public void deletGoodsByName(String name);

}
